package cn.tedu.ems.mapper;

import cn.tedu.ems.pojo.dto.StudentUpdateDTO;
import cn.tedu.ems.pojo.entity.Student;
import cn.tedu.ems.pojo.vo.StudentUpdateVO;
import cn.tedu.ems.pojo.vo.StudentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AwardPunishMapper {
    void insert(AwardPunishMapper awardPunish);
    List<StudentVO> select();

    void insert(Student s);

    void deleteById(int id);

    void update(StudentUpdateDTO student);

    StudentUpdateVO selectByIdUpdate(int id);
}
